package com.cgsd.heyu.entity;

/**
 * Description : 公共类型数据结构
 * @author xiaoxing
 * 时间：2019/11/27 15
 * 邮箱：only_dream136@sina.com
 */
public class TabEntity {
    /**
     * 标题
     */
    public String title;
    /**
     * 详情
     */
    public String des;
    /**
     * 图片
     * 图片来源于本地
     */
    public int imgResId;
    /**
     * 图片
     * 来源于网络
     */
    public String imgUrl;
    /**
     * 类型
     */
    public String type;
    /**
     * 其它
     */
    public String other;

    public TabEntity() {
    }

    public TabEntity(String title) {
        this.title = title;
    }

    public TabEntity(int imgResId, String type) {
        this.imgResId = imgResId;
        this.type = type;
    }

    public TabEntity(String title, String type) {
        this.title = title;
        this.type = type;
    }

    public TabEntity(int imgResId, String title, String des) {
        this.imgResId = imgResId;
        this.title = title;
        this.des = des;
    }

    public TabEntity(String title, String type, String other) {
        this.title = title;
        this.type = type;
        this.other = other;
    }

    public TabEntity(String title, int imgResId, String type) {
        this.title = title;
        this.imgResId = imgResId;
        this.type = type;
    }
}
